<!doctype HTML public "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Click to Convert 5.2: Anything to HTML -->
<!-- http://www.clicktoconvert.com -->

<html>
<head>
<title>gravityboxscheduleuserguide - page 79 of 234</title>
<meta http-equiv=content-type content=text/html;charset=iso-8859-1>
<meta name="Generator" content="Click to Convert">

<!--Start of page styles-->
<STYLE TYPE="text/css">
<!--
 /* Foreground Image Styles */

 /* Position Styles */
 .ts79p0{position:absolute;left:106px;top:97px;}
 .ts79p1{position:absolute;left:352px;top:97px;}
 .ts79p3{position:absolute;left:672px;top:97px;}
 .ts79p7{position:absolute;left:106px;top:113px;}
 .ts79p8{position:absolute;left:706px;top:1026px;}
 .ts79p9{position:absolute;left:331px;top:1044px;}
 .ts79p13{position:absolute;left:106px;top:146px;}
 .ts79p15{position:absolute;left:106px;top:220px;}
 .ts79p18{position:absolute;left:106px;top:256px;}
 .ts79p19{position:absolute;left:106px;top:275px;}
 .ts79p20{position:absolute;left:106px;top:293px;}
 .ts79p22{position:absolute;left:106px;top:312px;}
 .ts79p23{position:absolute;left:106px;top:330px;}
 .ts79p24{position:absolute;left:106px;top:348px;}
 .ts79p26{position:absolute;left:106px;top:367px;}
 .ts79p28{position:absolute;left:106px;top:385px;}
 .ts79p29{position:absolute;left:106px;top:404px;}
 .ts79p30{position:absolute;left:106px;top:422px;}
 .ts79p32{position:absolute;left:106px;top:440px;}
 .ts79p33{position:absolute;left:106px;top:459px;}
 .ts79p34{position:absolute;left:106px;top:477px;}
 .ts79p36{position:absolute;left:106px;top:496px;}
 .ts79p37{position:absolute;left:106px;top:514px;}
 .ts79p39{position:absolute;left:106px;top:551px;}
 .ts79p40{position:absolute;left:106px;top:569px;}
 .ts79p41{position:absolute;left:106px;top:588px;}
 .ts79p42{position:absolute;left:106px;top:606px;}
 .ts79p44{position:absolute;left:106px;top:624px;}
 .ts79p45{position:absolute;left:106px;top:643px;}
 .ts79p46{position:absolute;left:106px;top:661px;}
 .ts79p48{position:absolute;left:106px;top:680px;}
 .ts79p49{position:absolute;left:106px;top:699px;}
 .ts79p52{position:absolute;left:106px;top:717px;}
 .ts79p54{position:absolute;left:106px;top:735px;}
 .ts79p56{position:absolute;left:106px;top:753px;}
 .ts79p58{position:absolute;left:106px;top:771px;}
 .ts79p60{position:absolute;left:106px;top:790px;}
 .ts79p61{position:absolute;left:106px;top:808px;}
 .ts79p62{position:absolute;left:552px;top:550px;}
 .ts79p64{position:absolute;left:552px;top:562px;}
 .ts79p65{position:absolute;left:552px;top:574px;}
 .ts79p67{position:absolute;left:552px;top:586px;}

 /* Font Styles */
 .ft0p79{font-style:normal;font-weight:bold;font-size:13px;font-family:arial,sans-serif;color:#000000;}
 .ft1p79{font-weight:normal;}
 .ft2p79{font-style:normal;font-weight:normal;font-size:13px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft3p79{font-style:normal;font-weight:normal;font-size:16px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft4p79{font-style:normal;font-weight:bold;font-size:11px;font-family:arial,sans-serif;color:#000000;}
 .ft5p79{font-style:normal;font-weight:normal;font-size:32px;font-family:helvetica,arial,sans-serif;color:#000000;}
 .ft6p79{font-style:normal;font-weight:bold;font-size:21px;font-family:arial,sans-serif;color:#808080;}
 .ft7p79{font-style:normal;font-weight:normal;font-size:16px;font-family:arial,sans-serif;color:#000000;}
 .ft8p79{font-style:normal;font-weight:normal;font-size:16px;font-family:"courier new",courier,monospace;color:#000000;}
 .ft9p79{font-style:normal;font-weight:bold;font-size:11px;font-family:arial,sans-serif;color:#FFFFFF;}
 .ft10p79{font-style:normal;font-weight:normal;font-size:11px;font-family:arial,sans-serif;color:#000000;}

 /* Background Style */
 .styleBackground79{position:absolute;left:97px;top:550px}

 /* Navigation Styles */
 .styleNavBarTop{position:absolute;left:0px;top:2px}
 .nb{position:absolute;left:2px;top:0px}
 .nbs{position:absolute;left:0px;top:0px}
 .nbe{position:absolute;left:836px;top:0px}
 .styleNavBarBot{position:absolute;left:0px;top:1117px}
-->
</STYLE>
<!--End of page styles-->

</head>
<body bgcolor="#ffffff" text="#000000" link="#0000FF" Vlink="#660099">

<table id="pageTable" width="836" STYLE="position: relative; left: auto; top: auto;"><tr><td>
<div class=nbs><img src="./navbarstart.gif" width="2" height="30"></div>
<div class=nb><img src="./navbar.gif" width="836" height="30" alt="Navigation bar"></div>
<div class=nbe><img src="./navbarend.gif" width="2" height="30"></div>
<div class=styleNavBarTop>
<table width="834" height="26" border="0" cellspacing="0">
  <tr align="left">
    <td width="4">&nbsp;</td>
    <td width="25" align="center"><a href="http://www.gravitybox.com" target="_parent"><img src="./home.gif" border="0" alt="Home"></a></td>
    <td width="25" align="center"><a href="#" onClick="window.open('./print.html','Printing','width=300,height=100,toolbar=no,directories=no');return false;"><img src="./print.gif" border="0" alt="Print document"></a></td>
    <td width="10" align="center"><img src="./separator.gif" border="0"></td>
    <td width="18" align="center"><a href="./index1.html"><img src="./start.gif" width="18" height="14" border="0" alt="Start"></a></td>
    <td width="18" align="center"><a href="./index78.html"><img src="./back.gif" width="14" height="14" border="0" alt="Previous page"></a></td>
    <td width="80" valign="middle"><table width="100%" height="16" border="0" cellspacing="1" bgcolor="#ACA899"><tr><td align="center" bgcolor="#ffffff"><font face=verdana,arial,sans-serif><font size="1">&nbsp;79 of 234&nbsp;</font></font></td></tr></table></td>
    <td width="18" align="center"><a href="./index80.html"><img src="./forward.gif" width="14" height="14" border="0" alt="Next page"></a></td>
    <td width="18" align="center"><a href="./index234.html"><img src="./end.gif" width="18" height="14" border="0" alt="End"></a></td>
    <td width="620">&nbsp;</td>
  </tr>
</table>
<p>
</div>
<nobr>
<div class=styleBackground79><img src="./background79.png" width="641" height="505" border="0" alt=""></div>
<div class=ts79p0><span class="ft0p79"> </span></div>
<div class=ts79p1><span class="ft0p79">Gravitybox Schedule Primer<span class="ft1p79"> </span></span></div>
<div class=ts79p3><span class="ft0p79">Page 77&nbsp; </span></div>
<div class=ts79p7><span class="ft2p79"> </span></div>
<div class=ts79p8><span class="ft3p79"> </span></div>
<div class=ts79p9><span class="ft4p79">1998&#45;2004 Gravitybox Software LLC<span class="ft3p79"> </span></span></div>
<div class=ts79p13><span class="ft5p79">Chapter 7 </span></div>
<div class=ts79p15><span class="ft6p79">Area Availability </span></div>
<div class=ts79p18><span class="ft7p79">On a schedule, it may be important to check for the visibility of items. Also sometimes </span></div>
<div class=ts79p19><span class="ft7p79">you may need to make items visible, if they are not already so. There exist a variety of </span></div>
<div class=ts79p20><span class="ft7p79">methods that allow the visibility any item of a schedule to be checked and set. An item </span></div>
<div class=ts79p22><span class="ft7p79">may be defined as a date, room, time, or appointment. There are methods that may be </span></div>
<div class=ts79p23><span class="ft7p79">used to determine the visibility of any date or time. In addition, if one of them is not </span></div>
<div class=ts79p24><span class="ft7p79">visible, it may be made visible with another function call. These methods may be used </span></div>
<div class=ts79p26><span class="ft7p79">to scroll the viewable window of a schedule to a particular place. </span></div>
<div class=ts79p28><span class="ft7p79"> </span></div>
<div class=ts79p29><span class="ft7p79">Though the defined methods in this chapter may be used to determine area availability, </span></div>
<div class=ts79p30><span class="ft7p79">there is an easier way. The methods give you the power to perform manual checks on </span></div>
<div class=ts79p32><span class="ft7p79">arbitrary area. If you wish to merely find the next available slot starting at some location </span></div>
<div class=ts79p33><span class="ft7p79">you may use the &#147;GetNextFreeSlot&#148; method. This functionality is defined in the next </span></div>
<div class=ts79p34><span class="ft7p79">chapter. </span></div>
<div class=ts79p36><span class="ft7p79"> </span></div>
<div class=ts79p37><span class="ft6p79">IsDayVisible </span></div>
<div class=ts79p39><span class="ft7p79">In the course of building and maintaining a schedule the </span></div>
<div class=ts79p40><span class="ft7p79">visibility of particular date will eventually need to be known. </span></div>
<div class=ts79p41><span class="ft7p79">This information may be obtained with a simple method call. </span></div>
<div class=ts79p42><span class="ft7p79">Given a particular date, this method returns a Boolean value that determines the </span></div>
<div class=ts79p44><span class="ft7p79">visibility state of the specified date. If the date is only partially visible, this method </span></div>
<div class=ts79p45><span class="ft7p79">returns false. The start edge to the end edge of the date must be in the view port for a </span></div>
<div class=ts79p46><span class="ft7p79">true return value. </span></div>
<div class=ts79p48><span class="ft7p79"> </span></div>
<div class=ts79p49><span class="ft8p79">If Not Schedule1.IsDayVisible(#6/3/2002#) Then </span></div>
<div class=ts79p52><span class="ft8p79">&nbsp; .... </span></div>
<div class=ts79p54><span class="ft8p79">&nbsp; 'What to do if NOT visible </span></div>
<div class=ts79p56><span class="ft8p79">&nbsp; .... </span></div>
<div class=ts79p58><span class="ft8p79">End If<span class="ft7p79"> </span></span></div>
<div class=ts79p60><span class="ft7p79"> </span></div>
<div class=ts79p61><span class="ft7p79"> </span></div>
<div class=ts79p62><span class="ft9p79">Quick Tip </span></div>
<div class=ts79p64><span class="ft10p79">You may check if a day is in the </span></div>
<div class=ts79p65><span class="ft10p79">viewable area by using the </span></div>
<div class=ts79p67><span class="ft10p79">&#147;IsDayVisible&#148; property. </span></div>
<div class=styleNavBarBot>
<table width="836" border="0" cellspacing="2">
  <tr></tr>
  <tr>
    <td width="118"><a href="http://www.purepage.com"><img src="./smalllogo.gif" width="118" height="46" border="0" alt="http://www.purepage.com"></a></td>
    <td></td>
  </tr>
</table>
</div>

</td></tr></table>

</body>
</html>
